const ci = require('miniprogram-ci')

const project = new ci.Project({
    appid: 'wx22c944c0144459a9',
    type: 'miniProgram',
    projectPath: 'C:\Users\LQ\Desktop\zhihuishizheng\anjuanchaogao\project.config.json',
    privateKeyPath: 'C:/Users/pearl/WeChatProjects/private.wxe5d4b2363f53ae3f.key',
    ignores: ['node_modules/**/*'],
})

const uploadResult = ci.upload({
    project,
    version: '1.1.8',
    desc: 'hello 0902',
    setting: {
      es6: false,
    },
    onProgressUpdate: console.log,
})
console.log(uploadResult)
